package file;

import java.io.File;

public class FileDemo {
    public static void main(String[] args) {

        File file=new File("./");
        String leng=file.getName();
        long l1ong=file.length();
        System.out.println(leng);
        System.out.println(l1ong);
    }
}
